package cn.iocoder.yudao.module.ao.controller.admin.course.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 课程信息分页 Request VO")
@Data
public class CoursePageReqVO extends PageParam {

    @Schema(description = "课程编码", example = "CS001")
    private String courseCode;

    @Schema(description = "课程名称", example = "计算机基础")
    private String courseName;

    @Schema(description = "所属学科组ID", example = "1")
    private Long groupId;

    @Schema(description = "课程类型", example = "必修课")
    private String courseType;

    @Schema(description = "课程类别", example = "专业课")
    private String courseCategory;

    @Schema(description = "状态（0=禁用 1=启用）", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}